package com.example.kt_base.s4

//TODO 82.Kotlin语言的初始化陷井三

class KtBase82(_info: String) {

    //info 不能放在getInfoMethod下面
    private val info = _info

    val content: String = getInfoMethod()


    private fun getInfoMethod() = info
}

fun main() {
    println("内容长度是：${KtBase82("Derry").content.length}")

}
